﻿using System.Collections.Generic;
/// <summary>
/// 绑定模拟Behaviour接口
/// </summary>
public interface IBindSimulateBehaviour
{
    /// <summary>
    /// 绑定事件Key
    /// </summary>
    int bindEvtKey { get; }
    /// <summary>
    /// 绑定的SimulateBehaviour对象
    /// </summary>
    UnityDictionary<long, ISimulateBehaviour> bindISB { get; }    

    /// <summary>
    /// 绑定ISimulateMonoBehaviour
    /// </summary>
    /// <param name="_bindISB">绑定的ISimulateMonoBehaviour对象</param>
    void BindSimulateBehaviour(ISimulateBehaviour _bindISB);
    /// <summary>
    /// 移除绑定的行为组件
    /// </summary>
    /// <param name="_bindISB">绑定的ISimulateMonoBehaviour对象</param>
    /// <returns>GameObject.InstanceID</returns>
    int RemoveBindEventBehaviour(ISimulateBehaviour _bindISB);
}

